package cn.stylefeng.guns.sys.modular.system.entity;

import java.math.BigDecimal;

import com.alibaba.excel.annotation.ExcelProperty;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;

import java.io.Serializable;

/**
 * <p>
 * </p>
 * @author liuy
 * @since 2022-02-17
 */
@Data
@TableName("bty_jtgz")
public class BtyJtgz implements Serializable {

    private static final long serialVersionUID=1L;

    @TableId(value = "id", type = IdType.ID_WORKER)
    private Long id;

    /**
     * 用友大区编号
     */
    @ExcelProperty(index = 1)
    @TableField("code")
    private String code;

    /**
     * 地区
     */
    @ExcelProperty(index = 0)
    @TableField("region")
    private String region;

    /**
     * 店名
     */
    @ExcelProperty(index = 2)
    @TableField("dm")
    private String dm;

    /**
     * 计提工资
     */
    @ExcelProperty(index = 3)
    @TableField("amount")
    private BigDecimal amount;

    /**
     * 1成功
     */
    @TableField("flag")
    private Integer flag;

    /**
     * 失败原因
     */
    @TableField("errormsg")
    private String errormsg;

}
